﻿function sourceQuantityClass() {
    this.getsource = function (successBack) {
        $.ajax({
            url: "~/../../DataBase/GetSources",
            type: "GET",
            dataType: "json",
            success: function (res) { successBack(res); }
        });
    };
    this.getquantity = function (successBack) {
        $.ajax({
            url: "~/../../DataBase/GetQuantities",
            type: "GET",
            dataType: "json",
            success: function (res) { successBack(res); }
        });
    };
}